package com.bnzj.cloud.auth.controller;

import java.util.UUID;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
public class ApiController {
	
	@RequestMapping("/getGuid.json")
	public String getGuid() {
		String uuid = UUID.randomUUID().toString().replace("-", "").toUpperCase();
		String json = "{\"uuid\":\"" + uuid + "\"}";
		return json;
	}
	
}
